<!DOCTYPE html>
<html class="x-admin-sm">

<head>
	<meta charset="UTF-8">
	<title>谷科综合业务平台</title>
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<!-- <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8" /> -->
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<link rel="stylesheet" href="../css/font.css">
	<link rel="stylesheet" href="../css/xadmin.css">
</head>

<body>
	<div class="layui-fluid">
		<div class="layui-row layui-col-space15">

			<div class="layui-col-md12">

				<div class="layui-card">
					<div class="layui-card-body ">
						<div class="layui-collapse" lay-filter="test">
							<div class="layui-colla-item">
								<h2 class="layui-colla-title">条件筛选<i class="layui-icon layui-colla-icon"></i></h2>
								<div class="layui-colla-content layui-show">
									<form class="layui-form" lay-filter="seach_form">
										<div class="layui-form-item">
											<div class="layui-inline">
												<label class="layui-form-label">用户名</label>
												<div class="layui-input-inline" style="width: 200px;">
													<input type="text" name="username" autocomplete="off"
														class="layui-input">
												</div>
											</div>
							<!-- 				<div class="layui-inline">
												<label class="layui-form-label">手机号码</label>
												<div class="layui-input-inline" style="width: 100px;">
													<input type="text" name="telephone" autocomplete="off"
														class="layui-input">
												</div>
											</div> -->
										</div>
										<div class="layui-form-item">
											<div class="layui-input-block">
												<button id="seach_submit" lay-submit class="layui-btn"
													lay-filter="seach_submit">查询</button>
												<button type="reset" class="layui-btn layui-btn-primary">重置</button>
											</div>
										</div>
									</form>
								</div>
							</div>
						</div>
					</div>

					<!--表单-->



					<!--编辑、分页-->
					<div class="layui-card-body">
						<table id="user_table" lay-filter='user_table'></table>
						<script type="text/html" id="toolbarDemo">
								<a class="layui-btn layui-btn-xs" lay-event="add">新增</a>
							</script>
						<script type="text/html" id="barDemo">
								<a class="layui-btn layui-btn-xs" lay-event="detail">查看</a>
								<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
								<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
							</script>
						<div id="user_page"></div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
<div id="forms" style="display: none;" class="layui-row">
	<form class="layui-form layui-col-md-offset2 goodcol-model-form" action="" lay-filter="addOrUpdate_form">
		<!-- <div class="layui-form" lay-filter="formTest1"> -->
		<div class="layui-form-item">
			<label class="layui-form-label">用户名</label>
			<div class="layui-input-inline">
				<input type="text" name="username" lay-verify="title" autocomplete="off" placeholder="请输入姓名"
					class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">密码</label>
			<div class="layui-input-inline">
				<input type="password" name="password" placeholder="请输入密码" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">角色</label>
			<div class="layui-input-inline">
				<select id="queryRole" name="role_id" lay-filter="queryRole">
					<option value=""></option>
				</select>
			</div>
		</div>
		<div class="layui-form-item goodcol-model-fun">
			<div class="layui-input-block">
				<button id="addOrUpdate" lay-submit class="layui-btn" lay-filter="addOrUpdateSubmit">提交</button>
				<span></span>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
			</div>
		</div>
		<!-- </div> -->
	</form>
</div>

<div id="queForm" style="display: none;" class="layui-row">
	<form class="layui-form layui-col-md-offset2 goodcol-model-form" id="queForm" action="" lay-filter="formTest">
		<!-- <div class="layui-form" > -->
		<div class="layui-form-item">
			<label class="layui-form-label">用户名</label>
			<div class="layui-input-inline">
				<input type="text" name="username" lay-verify="required|phone" disabled="" autocomplete="off" class="layui-input">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">角色</label>
			<div class="layui-input-inline">
				<input type="text" name="roleName" lay-verify="required|phone" disabled="" autocomplete="off" class="layui-input">
			</div>
		</div>

		<!-- <div class="layui-form-item">

			<label class="layui-form-label">手机号</label>
			<div class="layui-input-inline">
				<input type="tel" name="telephone" lay-verify="required|phone" autocomplete="off" class="layui-input">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">邮箱</label>
			<div class="layui-input-inline">
				<input type="text" name="email" lay-verify="email" autocomplete="off" class="layui-input">
			</div>
		</div> -->


		<div class="layui-form-item">

			<label class="layui-form-label">创建人</label>
			<div class="layui-input-inline">
				<input type="tel" name="createUser" lay-verify="required|phone" disabled="" autocomplete="off" class="layui-input">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">创建时间</label>
			<div class="layui-input-inline">
				<input type="text" name="createDate" lay-verify="email" disabled="" autocomplete="off" class="layui-input">
			</div>
		</div>



		<!-- <div class="layui-form-item">

			<label class="layui-form-label">备注</label>
			<div class="layui-input-inline">
				<input type="tel" name="remark" lay-verify="required|phone" autocomplete="off" class="layui-input">
			</div>

		</div> -->


		<!-- </div> -->
	</form>
</div>

<script src="../lib/jQuery/jquery-3.2.1.min.js" type="text/javascript"></script>
<script src="../lib/layui/layui.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/xadmin.js" type="text/javascript"></script>
<script src="../js/comm.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/user.js" type="text/javascript" charset="utf-8"></script>

</html>